﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="ForgotPassword.aspx.cs" Inherits="FlashGameSite.FormForgotPassword" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div id="content">
        <div class="block">
            <div class="block-bot">
                <div class="head">
                    <div class="head-cnt">
                        <h3>Login</h3>
                        <div class="cl">
                        </div>
                    </div>
                </div>
            </div>
            <table style="width: 500px; height: 130px; margin:20px;">
                <tr>
                    <td>
                        <label>Username: </label>
                    </td>
                    <td>
                        <asp:TextBox ID="txtUsername" CssClass="txtcls" runat="server"></asp:TextBox></td>
                </tr>
                <tr>
                    <td>
                        <label>Email ID: </label>
                    </td>
                    <td>
                        <asp:TextBox ID="txtEmailID" CssClass="txtcls" runat="server"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td colspan="2">
                        <asp:Button ID="btnGetPassword" Style="float: right;" runat="server" CssClass="btncls" Text="Get Password" OnClick="btnGetPassword_Click" ValidationGroup="forgot" />
                        <asp:RequiredFieldValidator ID="rfvUsername" runat="server" ControlToValidate="txtUsername" Display="None" ErrorMessage="Username is required" ValidationGroup="forgot"></asp:RequiredFieldValidator>

                        <asp:RequiredFieldValidator ID="rfvEmail" runat="server" ControlToValidate="txtEmailID" Display="None" ErrorMessage="Email ID is required" ValidationGroup="forgot"></asp:RequiredFieldValidator>

                        <asp:RegularExpressionValidator ID="revEmail" runat="server" ControlToValidate="txtEmailID" Display="None" ErrorMessage="Invalid email" ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*" ValidationGroup="forgot"></asp:RegularExpressionValidator>

                        <asp:ValidationSummary ID="ValidationSummary1" runat="server" ShowMessageBox="True" ShowSummary="False" ValidationGroup="forgot" />
                    </td>
                </tr>
            </table>

        </div>

    </div>
</asp:Content>
